function render(){
    oTbody.innerHTML=''
    pagination.innerHTML=`
            <li>
                <a class="left" aria-label="Previous">
                <span class="left" aria-hidden="true">&laquo;</span>
                </a>
            </li>
            <li>
                <a class="right" aria-label="Next">
                <span class="right" aria-hidden="true">&raquo;</span>
                </a>
            </li>`
    res.data.forEach(v => {
        let oTr=document.createElement('tr')
        oTr.innerHTML=`<td>
        <h5>${v.n_title}</h5>
        <p style="float: left;">${v.n_content}</p>
        <span style="float: right;">${v.n_time}</span>
        </td>`
        oTbody.appendChild(oTr)
    });
    //渲染页码
    let pageCount=Math.ceil(res.total.total/count)
    for(let i=1;i<=pageCount;i++){
        let oLi=document.createElement('li')
        oLi.innerHTML=`<a class="page">${i}</a>`
        if(i==page){
            oLi.classList.add('active')
        }
        pagination.insertBefore(oLi,pagination.lastElementChild)
    }
    
    
}